package com.bdd.service;

import com.bdd.model.bo.clothing.ClothingBO;
import com.bdd.model.bo.clothing.ClothingAddBO;
import com.github.pagehelper.Page;

import java.util.List;

public interface ClothingService {

    Page<ClothingBO> list(Integer pageNum, Integer pageSize);

    void add(ClothingAddBO bo);

    void edit(ClothingBO bo);

    void delete(Integer id);

    List<ClothingBO> searchByName(String name);

}
